package com.caifu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 健康档案表_查房记录
 * </p>
 *
 * @author Lyf
 * @since 2020-11-19
 */
public class YlHealthyArchivesRecord extends Model<YlHealthyArchivesRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 老人编号
     */
    @TableField("USER_NO")
    private String userNo;

    /**
     * 入院编号
     */
    @TableField("IN_NO")
    private String inNo;

    /**
     * 工作单位
     */
    @TableField("WORK_PLACE")
    private String workPlace;

    /**
     * 职业
     */
    @TableField("JOB")
    private String job;

    /**
     * 性别 1男 2：女
     */
    @TableField("SEX")
    private String sex;

    /**
     * 年龄
     */
    @TableField("AGE")
    private Integer age;

    /**
     * 民族
     */
    @TableField("NATION")
    private String nation;

    /**
     * 出生地
     */
    @TableField("BIRTH_PLACE")
    private String birthPlace;

    /**
     * 入院日期
     */
    @TableField("IN_DATE")
    private String inDate;

    /**
     * 供史者
     */
    @TableField("HISTORY_INFO")
    private String historyInfo;

    /**
     * 可靠程度
     */
    @TableField("RELIABLE_DEGREE")
    private String reliableDegree;

    /**
     * 病史采集日期
     */
    @TableField("COLLECT_DATE")
    private String collectDate;

    /**
     * 家庭住址
     */
    @TableField("ADDRESS")
    private String address;

    /**
     * 主诉
     */
    @TableField("ZHU_SU")
    private String zhuSu;

    /**
     * 现病史
     */
    @TableField("MEDICAL_HISTORY")
    private String medicalHistory;

    /**
     * 既往史  101 健康、102一般、103差
     */
    @TableField("JW_HISTORY")
    private String jwHistory;

    /**
     * 曾患疾病
     */
    @TableField("DISEASE_INFO")
    private String diseaseInfo;

    /**
     * 传染病 0：无 1：有
     */
    @TableField("INFECTIOUS_DISEASE")
    private String infectiousDisease;

    /**
     * 手术史 0：无 1：有
     */
    @TableField("OPERATION_HISTORY")
    private String operationHistory;

    /**
     * 手术部位
     */
    @TableField("OPERATION_INFO")
    private String operationInfo;

    /**
     * 食物、药物过敏史 0:无 1：有
     */
    @TableField("ALLERGY_HISTORY")
    private String allergyHistory;

    /**
     * 重要药物应用史 0无  1：有


     */
    @TableField("IMPORT_HISTORY")
    private String importHistory;

    /**
     * 1：激素 2：抗癌药3：其他（
多个用逗号隔开）

     */
    @TableField("IMPORT_INFO")
    private String importInfo;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private String createTime;

    /**
     * 管理员编号
     */
    @TableField("TELLER_NO")
    private String tellerNo;


    @TableField(exist = false)
    private String jobName;

    @TableField(exist = false)
    private String nationName;

    /**
     * 批次编号
     */
    @TableId(value = "batch_no", type = IdType.INPUT)
    private String batchNo;

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }
    public String getInNo() {
        return inNo;
    }

    public void setInNo(String inNo) {
        this.inNo = inNo;
    }
    public String getWorkPlace() {
        return workPlace;
    }

    public void setWorkPlace(String workPlace) {
        this.workPlace = workPlace;
    }
    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }
    public String getBirthPlace() {
        return birthPlace;
    }

    public void setBirthPlace(String birthPlace) {
        this.birthPlace = birthPlace;
    }
    public String getInDate() {
        return inDate;
    }

    public void setInDate(String inDate) {
        this.inDate = inDate;
    }
    public String getHistoryInfo() {
        return historyInfo;
    }

    public void setHistoryInfo(String historyInfo) {
        this.historyInfo = historyInfo;
    }
    public String getReliableDegree() {
        return reliableDegree;
    }

    public void setReliableDegree(String reliableDegree) {
        this.reliableDegree = reliableDegree;
    }
    public String getCollectDate() {
        return collectDate;
    }

    public void setCollectDate(String collectDate) {
        this.collectDate = collectDate;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getZhuSu() {
        return zhuSu;
    }

    public void setZhuSu(String zhuSu) {
        this.zhuSu = zhuSu;
    }
    public String getMedicalHistory() {
        return medicalHistory;
    }

    public void setMedicalHistory(String medicalHistory) {
        this.medicalHistory = medicalHistory;
    }
    public String getJwHistory() {
        return jwHistory;
    }

    public void setJwHistory(String jwHistory) {
        this.jwHistory = jwHistory;
    }
    public String getDiseaseInfo() {
        return diseaseInfo;
    }

    public void setDiseaseInfo(String diseaseInfo) {
        this.diseaseInfo = diseaseInfo;
    }
    public String getInfectiousDisease() {
        return infectiousDisease;
    }

    public void setInfectiousDisease(String infectiousDisease) {
        this.infectiousDisease = infectiousDisease;
    }
    public String getOperationHistory() {
        return operationHistory;
    }

    public void setOperationHistory(String operationHistory) {
        this.operationHistory = operationHistory;
    }
    public String getOperationInfo() {
        return operationInfo;
    }

    public void setOperationInfo(String operationInfo) {
        this.operationInfo = operationInfo;
    }
    public String getAllergyHistory() {
        return allergyHistory;
    }

    public void setAllergyHistory(String allergyHistory) {
        this.allergyHistory = allergyHistory;
    }
    public String getImportHistory() {
        return importHistory;
    }

    public void setImportHistory(String importHistory) {
        this.importHistory = importHistory;
    }
    public String getImportInfo() {
        return importInfo;
    }

    public void setImportInfo(String importInfo) {
        this.importInfo = importInfo;
    }
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getTellerNo() {
        return tellerNo;
    }

    public void setTellerNo(String tellerNo) {
        this.tellerNo = tellerNo;
    }
    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getNationName() {
        return nationName;
    }

    public void setNationName(String nationName) {
        this.nationName = nationName;
    }

    @Override
    protected Serializable pkVal() {
        return this.batchNo;
    }

    @Override
    public String toString() {
        return "YlHealthyArchivesRecord{" +
        ", userNo=" + userNo +
        ", inNo=" + inNo +
        ", workPlace=" + workPlace +
        ", job=" + job +
        ", sex=" + sex +
        ", age=" + age +
        ", nation=" + nation +
        ", birthPlace=" + birthPlace +
        ", inDate=" + inDate +
        ", historyInfo=" + historyInfo +
        ", reliableDegree=" + reliableDegree +
        ", collectDate=" + collectDate +
        ", address=" + address +
        ", zhuSu=" + zhuSu +
        ", medicalHistory=" + medicalHistory +
        ", jwHistory=" + jwHistory +
        ", diseaseInfo=" + diseaseInfo +
        ", infectiousDisease=" + infectiousDisease +
        ", operationHistory=" + operationHistory +
        ", operationInfo=" + operationInfo +
        ", allergyHistory=" + allergyHistory +
        ", importHistory=" + importHistory +
        ", importInfo=" + importInfo +
        ", createTime=" + createTime +
        ", tellerNo=" + tellerNo +
        ", batchNo=" + batchNo +
        "}";
    }
}
